package com.baoyouqun.API.push;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "wechat.official") // 对应application.yml中的配置
public class WechatConfig {
    private String appId; // 微信服务号appid
    private String secret; // 微信服务号secret
    private String templateId; // 消息模板ID
    private String jumpUrl; // 消息点击跳转URL
}